package com.zhihuichongcheng.application.bean.task;

/**
 * Created by LK on 2017/1/6.
 */

public class FilterBean {
    private FilterType type = FilterType.Single;
    private String name;
    private String tag;
    private Object value;
    private boolean selected = false;
    public FilterBean(String tag, Object value) {
        this.tag = tag;
        this.value = value;
    }

    public FilterType getType() {
        return type;
    }

    public void setType(FilterType type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public Object getValue() {
        return value;
    }

    public enum FilterType {
        Single, Multiple, TAG;
    }
}
